package com.viu.technology.dao.product;

import com.github.pagehelper.PageInfo;
import com.viu.technology.po.Order;
import com.viu.technology.po.Product;

public interface ProductDao {

    Product selectProductById(String id);

    int insertProduct(Product product);

    int insertProductStatis(String id);

    int updateProductStockPessimism(Order order);

    int updateProductStockPessimismNotImpose(Order order);

    PageInfo<Product> selectAllProductWithPage();
}
